package com.动态加载.handle.impl;

import com.动态加载.constat.GirlEnum;
import com.动态加载.constat.SupperGirlEnum;
import com.动态加载.handle.GirlHandle;
import org.springframework.stereotype.Service;

@Service
public class ShaoGirlHandle  implements GirlHandle {
    @Override
    public String query(Integer girl) {
        return GirlEnum.getType(girl);
    }

    @Override
    public SupperGirlEnum girlType() {
        return SupperGirlEnum.SHAO;
    }
}
